package com.ruoyi.yipaiju.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * fo_storage_relationship对象 fo_storage_relationship
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public class StorageRelationship extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** filename */
    @Excel(name = "filename")
    private String filename;

    /** category */
    @Excel(name = "category")
    private String category;

    /** related_object_id */
    @Excel(name = "related_object_id")
    private String relatedObjectId;

    /** related_organization_id */
    @Excel(name = "related_organization_id")
    private Long relatedOrganizationId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFilename(String filename) 
    {
        this.filename = filename;
    }

    public String getFilename() 
    {
        return filename;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setRelatedObjectId(String relatedObjectId)
    {
        this.relatedObjectId = relatedObjectId;
    }

    public String getRelatedObjectId()
    {
        return relatedObjectId;
    }
    public void setRelatedOrganizationId(Long relatedOrganizationId) 
    {
        this.relatedOrganizationId = relatedOrganizationId;
    }

    public Long getRelatedOrganizationId() 
    {
        return relatedOrganizationId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("filename", getFilename())
            .append("category", getCategory())
            .append("relatedObjectId", getRelatedObjectId())
            .append("relatedOrganizationId", getRelatedOrganizationId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
